package com.weipai.education.dao;

import com.weipai.education.model.UserCategory;

import java.util.List;
import java.util.Map;

/**
 * @Author: 曹朋飞
 * @Date: 2018/12/10 14:58
 * 用户等级表
 */
public interface UserCategoryDao {
    
    int update(UserCategory userCategory);

    int insert(UserCategory userCategory);

    UserCategory selectByPrimaryKey(String id);
    
    List<Map<String,Object>> list(Integer start, Integer size, String dispark);

    Integer listAmount(String dispark);

    int batchDeleteById(String[] id);

    List<UserCategory> getAreaRateUserCate();

    UserCategory getUserCateInfo();
    
}
